package cn.wolfcode.web.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {
    private int currentPage=1;
    private int pageSize=5;

    public int getStart() {
        return (this.currentPage-1)*pageSize ;
    }
}
